<?php

use Illuminate\Support\Facades\Route;

require_once 'rbh/new.php';
require_once 'rbh/common.php';
require_once 'rbh/mini_supply.php';
require_once 'machine/machine.php';
require_once 'v1/rbh.php';
require_once 'mini.php';

# 代发
Route::prefix('df')->group(function ($route) {
    $route->any('users', DfController::class.'@getDfUser');
    $route->any('export', DfController::class.'@doExportDoneOrderData');
    $route->any('goods_list', DfController::class.'@getDoneOrderData');
});

# 上传
Route::prefix('upload')->group(function ($route) {
    $route->any('upload', UploadController::class.'@upload');
    $route->any('do_upload', UploadController::class.'@doUpload');
    $route->any('oss', UploadController::class.'@oss');
});


